package com.xnyzc.lhy.task.fegin.punishment;

import com.xnyzc.lhy.task.config.TokenAuthConfiguration;
import com.xnyzc.lhy.task.fallback.punishment.QuartzPunishmentStatisticsFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: cuichaoqun
 * @Date: 2019-11-09
 * @Description 司机处罚相关
 */
@Service
@FeignClient(name = "${feign.applicationName.mis}", configuration = TokenAuthConfiguration.class, fallback = QuartzPunishmentStatisticsFallback.class)
public interface QuartzPunishmentStatisticsService {

    /**
     * 定时解封司机处罚内容  OaDUser
     * */
    @GetMapping(value = "/cmsapi/oaDUserPenaltyTask/unsealDriverPenaltyTask")
    void unsealDriverPenaltyTask();

    /**
     * 定时解冻司机处罚内容  OaDWallet
     * */
    @GetMapping(value = "/cmsapi/oaDUserPenaltyTask/unsealDriverThawTask")
    void unsealDriverThawTask();
}
